package com.example.mvp.mvppromote.network.api;

import com.example.mvp.mvppromote.config.Constant;
import com.example.mvp.mvppromote.model.WeiXnBean;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 描述
 * Created by 武彤宇 on 2016/6/27 0027
 */
public interface WeiXinApi {
    @GET("/wxnew/?key=" + Constant.TX_APP_KEY + "&num=20")
    Observable<WeiXnBean> getWeixin(@Query("page") int page);
}
